package com.sos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sos.entity.po.Account;
import com.sos.entity.po.User;

/**
 * @author 港某人
 * @date 2021/3/7 14:44
 */
public interface UserMapper extends BaseMapper<Object> {

    Account getAccountById(String id);

    User getUserById(String id);

    User getUserByAccount(String account);

    void insertAccount(Account account);

    void insertUser(User user);

    void updateUser(User user);


}
